package com.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.common.model.BaseQuery;
import com.demo.config.annotation.DataScope;
import com.demo.entity.Clue;
import com.demo.vo.ClueRemarkVo;
import com.demo.vo.ClueVo;
import com.demo.vo.PieData;

import java.util.List;

public interface ClueMapper extends BaseMapper<Clue> {

    @DataScope(tableAlias = "tc",tableField = "owner_id")
    List<ClueVo> selectClueList(BaseQuery baseQuery);

    ClueVo queryClueDetailInfo(Integer id);

    List<PieData> selectNoteWayList();
}